﻿@{
    ViewBag.Title = "article";
    Layout = "~/Views/Shared/_Index.cshtml";
    LeEdu.MODEL.Information info = ViewBag.info;
    List<LeEdu.MODEL.Information> infolist = ViewBag.infolist;
    //推荐
    List<LeEdu.MODEL.Information> infotui = ViewBag.infotui;
}
<div id="content-container" class="container">

    <button type="button" class="close  fade " data-dismiss="alert" aria-label="Close" style="float:right"><span aria-hidden="true">&times;</span></button>
    <div class="article-detail row" id="detail-content">
        <!-- 主内容 -->
        <div class="col-md-8 article-detail-main">
            <section class="es-section article-content">
                <ol class="breadcrumb">
                    <li><a href="#">资讯频道</a></li>
                    <li><a href="/Group/GroupIA/@info.ColumnssID">@info.Columnss.CLNAME</a></li>
                    <li class="active">正文</li>
                </ol>
                <div class="article-metas">
                    <div class="pull-left">
                        <div class="date">
                            <div class="day">@info.INOLDTIME.Day</div>
                            <div class="month">@info.INOLDTIME.Month 月</div>
                        </div>
                    </div>
                    <div class="metas-body">
                        <h2 class="title">
                          @info.INTITLE
                            <img class="media-object" style="width:216px;height:120px;" src="~/Img/@info.INIMAGE" alt="@info.INTITLE">
                        </h2>
                        <div class="sns">
                            <span class="views-num">
                                <i class="es-icon es-icon-visibility"></i>26
                            </span>
                            <span class="comment-num">
                                <i class="es-icon es-icon-textsms"></i>0
                            </span>
                            <span class="love-num">
                                <i class="es-icon es-icon-favorite"></i><span class="js-like-num">1</span>
                            </span>
                        </div>
                    </div>
                </div>
                <div class="article-text">
                    <p>@info.INCONTENT</p>

                </div>
                <div class="well">

                    <p>文章来源: <strong class="mll">@info.INSOURCENAME</strong></p>
                    <p>
                        原文链接:
                        <a href="http://@info.INSOURCE" class="mll transition" target="_blank">
                            @info.INSOURCE
                        </a>
                    </p>
                </div>

                <div class="article-tags">
                    标签：
                    <a class="btn-tag" href="#">C#</a>
                    <a class="btn-tag" href="#">RPG</a>
                </div>
                <div class="article-sns">
                    <a href="javascript:;" class="love js-article-like color-primary" data-like-url="/article/1/like" data-cancel-like-url="/article/1/canceLike"><i class="es-icon es-icon-favorite"></i><span class="js-like-num">1</span></a>
                    <span class="es-share right">
                        <a class="dropdown-toggle" href="javascript:;" data-toggle="dropdown">
                            <i class="es-icon es-icon-share"></i>
                        </a>
                    </span>
                </div>

                <form class="es-commet" id="thread-post-form" method="POST" action="/article/1/post">
                    <div class="es-commet-header">
                        文章评论<span class="badge badge-primary">0</span>
                    </div>
                    <textarea class="form-control form-control-o" rows="6" placeholder="您的想法" name="content"></textarea>
                    <div class="form-group clearfix">
                        <button type="submit" class="btn btn-default pull-right " data-loading-text="正在评论">发表评论</button>
                    </div>
                    <input type="hidden" name="_csrf_token" value="d8ad139803449fb2934565cca52dead1d135a59e">
                </form>
                <ul class="comment-list thread-pripost-list">
                    <li class="empty">还没有人评论，欢迎说说您的想法！</li>
                </ul>

                <nav class="text-center">

                </nav>
            </section>
        </div>

        <aside class="col-md-4 article-sidebar">
            <!-- 热门资讯 -->
            <div class="panel panel-default hot-article">
                <div class="panel-heading">
                    <h3 class="panel-title"><i class="es-icon es-icon-whatshot"></i>热门资讯</h3>
                </div>
                <div class="panel-body">
                    @for (int i = 0; i < infolist.Count(); i++)
                    {
                        <div class="media media-number">
                            <div class="media-left">
                                <span class="num">@(i+1)</span>
                            </div>
                            <div class="media-body">
                                <a class="link-dark" href="/Group/article/@infolist[i].ID" title="123">@infolist[i].INTITLE</a>
                            </div>
                        </div>
                    }
                                        
                </div>
            </div>
            <!-- 热门标签 -->

            <div class="panel panel-default hot-tag">
                <div class="panel-heading">
                    <h3 class="panel-title"><i class="es-icon es-icon-loyalty"></i>热门标签</h3>
                </div>
                <div class="panel-body">
                    <a class="btn-tag" href="#"> kj</a>

                    <a class="btn-tag" href="#"> Asp.Net</a>

                    <a class="btn-tag" href="#"> C#</a>
                   
                    <a class="btn-tag" href="#"> Unity3D</a>
                  
                </div>
            </div>

            <!-- 热门评论 -->
            <div class="panel panel-default hot-comments">
                <div class="panel-heading">
                    <h3 class="panel-title">
                        <i class="es-icon es-icon-textsms"></i>热门评论
                    </h3>
                </div>
                <div class="panel-body">

                    <div class="empty">一个评论都没有！</div>

                </div>
            </div>
            <!-- 推荐资讯 -->
            <div class="panel panel-default recommend-article">
                <div class="panel-heading">
                    <h3 class="panel-title">
                        <i class="es-icon es-icon-language"></i>推荐资讯
                    </h3>
                </div>
                <div class="panel-body">
                    @for (int i = 0; i < infotui.Count(); i++)
                    {
                        <div class="media media-number">
                            <div class="media-left">
                                <span class="num">@(i+1)</span>
                            </div>
                            <div class="media-body">
                                <a class="link-dark" href="/Group/article/@infotui[i].ID" title="123">@infotui[i].INTITLE</a>
                            </div>
                        </div>
                    }
                    
                </div>
            </div>
        </aside>

    </div>

</div>

